package day02;

public class homework03 {
    public static void main(String[] args) {
        int[] arr = {10202, 41414, 44545, 12321, 10101, 12332,121};
        check_arr(arr);
    }

    public static void check_arr(int[] arr) {
        for (int i = 0; i < arr.length; i++) {
            int ge =arr[i]%10;
            int shi=arr[i]/10%10;
            int bai=arr[i]/100%10;
            int qian=arr[i]/1000%10;
            int wan=arr[i]/10000%10;
            if(ge==wan&&shi==qian){
                System.out.println(arr[i]+"是回文数");
            }
        }
    }
}
